package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商户入驻步骤表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-04
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_merchant_register_step")
@Schema(description = "MerMerchantRegisterStep对象")
@AllArgsConstructor
@NoArgsConstructor
public class MerMerchantRegisterStep extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @Schema(description = "所属商户")
    @TableField("mer_id")
    private String merId;

    @Schema(description = "步骤名称")
    @TableField("step_name")
    private String stepName;

    @Schema(description = "是否完成 0 否 1 是")
    @TableField("complete_flag")
    private Boolean completeFlag;

    @Schema(description = "步骤类型 ")
    @TableField("step_type")
    private String stepType;

    @Schema(description = "提交时间")
    @TableField("submit_time")
    private LocalDateTime submitTime;

    @Schema(description = "是否当前所在")
    @TableField("current_flag")
    private Boolean currentFlag;

    @Schema(description = "排序码")
    @TableField("order_no")
    private Integer orderNo;


}
